<template>
    <div>
      <mt-swipe :auto="4000" >
            <!-- 每个组件中用v-for遍历数组都要绑定key属性，某个属性值如果是表达式，则要为该属性加上： -->
             <mt-swipe-item v-for="item in lunbotu" :key="item.id">
                 <img :src="item.img" alt="" :class="{full:isfull}">
             </mt-swipe-item>
        </mt-swipe>
    </div>
</template>
<script>

export default {
    data(){
        return {

        }
    },
    methods:{

    },
    props:["lunbotu","isfull"]
}
</script>
<style lang="scss" scoped>
.mint-swipe{
    height: 200px;
    .mint-swipe-item{
       text-align: center;
        img{
            // width: 100%;
            height: 100%;
        }
    }
    
}
.full{
    width: 100%;
}
</style>